package com.logic.lhub.fusion;

import android.os.Environment;

import java.io.File;

public class FusionCode {
    public static final String AES_SIGN_KEY = "rwCyegYqZjtnBPND";

    public static Boolean QrIsLoading = false;
    public static String SUCCESS = "0";
    public static int FAIL = -1;
    public static int NET_FAIL = -2;
    public static String E_SUCCESS = "1";
    public static String E_FAIL = "-1";

//    public static BackMoneySetEntity mMoneySetInfo;
//    public static String ORDER_NO = "33Q9WB-" + AtmosPreference.getCustomStringPre(FusionPre.STORE_NUM) + "-" + AtmosPreference.getCustomStringPre(FusionPre.MACHINE_NUM) + "-";
//
//    public static MachineOrderEntity mOrderData;
//    public static String USB_PATH = "";
//
//    public static List<InitDataEntity.ExcInfo> mExcList;

    public class OrderSorce {
        public static final String IOS = "1";
        public static final String ANDROID = "2";
        public static final String WECHAT_SUBSCRIPTION_NUMBER = "3";
        public static final String WECHAT_MINI_PROGRAM = "4";
        public static final String MEI_TUAN = "5";
        public static final String KOU_BEI = "6";
        public static final String TAO_BAO = "7";
        public static final String DOU_YIN = "9";
        public static final String ALL = "8";
        public static final String MEM = "10";
        public static final String SPOT = "11";
        public static final String BACK = "12";
    }

    public class CoinOutType {
        public static final String SHARE = "1";
        public static final String SCAN = "2";
        public static final String BACK = "3";
    }

    public class OrderStatus {
        public static final String SUCCESS = "1";
        public static final String FAIL = "2";
        public static final String DO_PERSON = "3";
    }

    /**
     * 后台页面是否显示
     */
    public static boolean BackIsShowing = false;

    /**
     * 是否处于首页
     */
    public static boolean HomeIsShowing = true;

    public static boolean readCardIsSend = false;
    // 存储图片的SDCard路径
    public static final String SD_PATH = Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator;

    // 存储图片的sdcard目录
    public static final String FILE_DIR = "fyzq/";

    // 存储路径
    public static final String SAVE_PATH = SD_PATH + FILE_DIR;
    public static final String LOG_PATH = SAVE_PATH + "log/";
    // 视频文件路径
    public static final String VIDEO_PATH = SAVE_PATH + "video/";
    public static final String IMAGE_PATH = SAVE_PATH + "image/";
    public static final String DOWNLOAD_SAVE_PATH = SAVE_PATH + "download/";
    public static final String DOWNLOAD_SAVE_APK_PATH = DOWNLOAD_SAVE_PATH + "apk/";
    public static final String DOWNLOAD_SAVE_BIN_PATH = DOWNLOAD_SAVE_PATH + "bin/";
    public static final String DOWNLOAD_SAVE_VIDEO_PATH = DOWNLOAD_SAVE_PATH + "video/";

    public static final String DATABASE_PATH = SAVE_PATH + "database/";

    public static String SCAN_TYPE = "";
    public static final String QR_SCANNER = "qr_scanner";
    public static final String CANCEL = "";
    public static String mMachineDevice = "";

    /**
     * 首页信息缓存
     */
//    public static InitDataEntity mInitData;

    /**
     * 1:会员取币
     * 2:网络取币
     * 3:现场购币
     * 4:退卡
     * 6:全部
     */
    public static final String ORDER_MEM = "1";
    public static final String ORDER_NET = "2";
    public static final String ORDER_SPOT = "3";
    public static final String ORDER_BACK = "4";
    public static final String ALL = "0";
    public static String USBPath = "";

    public static String ACTIVITY_ID = "";
    public static String CODE_ID = "";

    public static String RECORD_ID = "";

}
